Optimal. Leaf size=58 \[ \frac {3 b^2 \log (x)}{a^4}-\frac {3 b^2 \log (a+b x)}{a^4}+\frac {b^2}{a^3 (a+b x)}+\frac {2 b}{a^3 x}-\frac {1}{2 a^2 x^2} \]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 58, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {44} \begin {gather*} \frac {b^2}{a^3 (a+b x)}+\frac {3 b^2 \log (x)}{a^4}-\frac {3 b^2 \log (a+b x)}{a^4}+\frac {2 b}{a^3 x}-\frac {1}{2 a^2 x^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 44
Rubi steps
\begin {align*} \int \frac {1}{x^3 (a+b x)^2} \, dx &=\int \left (\frac {1}{a^2 x^3}-\frac {2 b}{a^3 x^2}+\frac {3 b^2}{a^4 x}-\frac {b^3}{a^3 (a+b x)^2}-\frac {3 b^3}{a^4 (a+b x)}\right ) \, dx\\ &=-\frac {1}{2 a^2 x^2}+\frac {2 b}{a^3 x}+\frac {b^2}{a^3 (a+b x)}+\frac {3 b^2 \log (x)}{a^4}-\frac {3 b^2 \log (a+b x)}{a^4}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.05, size = 53, normalized size = 0.91 \begin {gather*} \frac {a \left (\frac {2 b^2}{a+b x}-\frac {a}{x^2}+\frac {4 b}{x}\right )-6 b^2 \log (a+b x)+6 b^2 \log (x)}{2 a^4} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{x^3 (a+b x)^2} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.55, size = 86, normalized size = 1.48 \begin {gather*} \frac {6 \, a b^{2} x^{2} + 3 \, a^{2} b x - a^{3} - 6 \, {\left (b^{3} x^{3} + a b^{2} x^{2}\right )} \log \left (b x + a\right ) + 6 \, {\left (b^{3} x^{3} + a b^{2} x^{2}\right )} \log \relax (x)}{2 \, {\left (a^{4} b x^{3} + a^{5} x^{2}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 1.13, size = 74, normalized size = 1.28 \begin {gather*} \frac {3 \, b^{2} \log \left ({\left | -\frac {a}{b x + a} + 1 \right |}\right )}{a^{4}} + \frac {b^{2}}{{\left (b x + a\right )} a^{3}} - \frac {\frac {6 \, a b^{2}}{b x + a} - 5 \, b^{2}}{2 \, a^{4} {\left (\frac {a}{b x + a} - 1\right )}^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 57, normalized size = 0.98 \begin {gather*} \frac {b^{2}}{\left (b x +a \right ) a^{3}}+\frac {3 b^{2} \ln \relax (x )}{a^{4}}-\frac {3 b^{2} \ln \left (b x +a \right )}{a^{4}}+\frac {2 b}{a^{3} x}-\frac {1}{2 a^{2} x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.40, size = 64, normalized size = 1.10 \begin {gather*} \frac {6 \, b^{2} x^{2} + 3 \, a b x - a^{2}}{2 \, {\left (a^{3} b x^{3} + a^{4} x^{2}\right )}} - \frac {3 \, b^{2} \log \left (b x + a\right )}{a^{4}} + \frac {3 \, b^{2} \log \relax (x)}{a^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.11, size = 57, normalized size = 0.98 \begin {gather*} \frac {\frac {3\,b^2\,x^2}{a^3}-\frac {1}{2\,a}+\frac {3\,b\,x}{2\,a^2}}{b\,x^3+a\,x^2}-\frac {6\,b^2\,\mathrm {atanh}\left (\frac {2\,b\,x}{a}+1\right )}{a^4} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.31, size = 54, normalized size = 0.93 \begin {gather*} \frac {- a^{2} + 3 a b x + 6 b^{2} x^{2}}{2 a^{4} x^{2} + 2 a^{3} b x^{3}} + \frac {3 b^{2} \left (\log {\relax (x )} - \log {\left (\frac {a}{b} + x \right )}\right )}{a^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________